package com.xxchat.entity.constants;

/**
 * @author Waicc
 */
public class RedisConstants {
    public static final String REDIS_KEY_CHECK_CODE = "xxchat:check_code:";

    public static final String REDIS_KEY_WS_USER_HEARTBEAT = "xxchat:ws:user:heartbeat:";
    public static final String REDIS_KEY_WS_TOKEN = "xxchat:ws:token:";
    public static final String REDIS_KEY_WS_TOKEN_USERID = "xxchat:ws:token:userid:";
    public static final String REDIS_KEY_USER_CONCAT = "xxchat:ws:user:concat:";

    public static final String REDIS_KEY_SYS_SETTING = "xxchat:sys:setting:";

    public static final Integer REDIS_EXPIRE_TIME_ONE_MIN = 60;
    public static final Integer REDIS_EXPIRE_TIME_ONE_DAY = REDIS_EXPIRE_TIME_ONE_MIN * 60 * 24;
    public static final Integer REDIS_EXPIRE_TIME_HEARTBEAT = 6;
}
